import 'package:expensy_flutter/_external_packages.dart';

class SoundHelper {
  final AudioCache player = AudioCache(prefix: 'assets/audio/');
  void playSmallButtonClick({double volume = 1.00}) {
    playNote(
        fileName:
            'zapsplat_multimedia_notification_pop_message_tooltip_small_click_007_63077.mp3',
        volume: volume);
  }

  void playNote({String fileName, double volume = 1.00}) {
    player.play(fileName, volume: volume);
  }
}
